from lib import *
import warnings
warnings.filterwarnings('ignore')
cmap= newcmp
#vmin_crosscorr = -0.5
#vmax_crosscorr = 0.5
vmin_corr = -0.5
vmax_corr = 0.5
cutoff = 1e-15
tol = 1e-15
mineigenval, maxeigenval = 1e-20, 1e3
n_of_weights=5
n_of_biases = 5
n_of_samples = 5
def get_eigrnvals_for_plot(path,cutoff):
eigenvals_tab = []
for n in range(n_of_samples):
file = path + str(n+1) + '.csv'
pearson_corr = pd.read_csv(file)
rk = np.linalg.matrix_rank(pearson_corr, tol = tol)
eigenvals = np.linalg.eig(pearson_corr)[0].real
eigenvals = eigenvals[:cutoff]
#eigenvals = np.where(eigenvals < cutoff, 1e-18, eigenvals)
eigenvals_tab.append(eigenvals)
print("{:} matrix shape = {:}\t rank = {:}".format(path, pearson_corr.shape, rk))
eigenvals_arr = np.array(eigenvals_tab)
log_eigenvals_arr = np.log10(eigenvals_arr)
eigenvals_mean = eigenvals_arr.mean(axis=0)
eigenvals_std = eigenvals_arr.std(axis=0)
log_eigenvals_mean = log_eigenvals_arr.mean(axis=0)
log_eigenvals_std = log_eigenvals_arr.std(axis=0)
return eigenvals_mean, eigenvals_std, log_eigenvals_mean
x = [1,2,3,4,5]
y1 = [1]*5
y2 = [1.1]*5
y3 = [1.2]*5
y4 = [1.3]*5
y5 = [1.4]*5
y6 = [1.5]*5
plt.scatter(x,y1,color ='pink')
plt.scatter(x,y2,color ='blueviolet')
plt.scatter(x,y3,color ='indigo' )
plt.scatter(x,y4,color ='slateblue' )
plt.scatter(x,y5,color ='slategray' )
<matplotlib.collections.PathCollection at 0x214eb9130d0>
def show_correlation(folder, pwd, details, n_of_samples, cmap, vmin, vmax, mineigenval, maxeigenval, cutoff):
colors = ['slategray', 'blueviolet', 'indigo','blueviolet','pink'] ##violet
fig, axs = plt.subplots(1, 2, figsize = (15, 6))
fig.suptitle(folder + pwd, fontsize=20)
for i,d in enumerate(details):
path = folder + pwd + '_' + d + '_'
eigenvals_mean, eigenvals_std, log_eigenvals_mean = get_eigrnvals_for_plot(path, cutoff)
m=len(eigenvals_mean)
t = np.linspace(0, m-1, m)
bins = int(np.sqrt(m))
axs[0].hist(log_eigenvals_mean, bins=bins, density=True, alpha = 0.3 , color=colors[i], label=d)
axs[0].set_title("log eigenvalues histogram")
axs[0].grid(True, color = 'gray', alpha =0.4)
axs[0].legend()
axs[1].errorbar(t, eigenvals_mean, yerr=eigenvals_std, c=colors[i], alpha = 0.9, label = d)
#axs[2].scatter(t, eigenvals_mean, color ='indigo', s=5)
axs[1].set_title("eigenvalues")
axs[1].set_xlim(0, m-1)
axs[1].set_yscale('log')
axs[1].set_ylim((mineigenval, maxeigenval))
axs[1].grid(True, color = 'gray', alpha =0.4)
axs[1].legend()
pwd = 'model_50_50/model_50_50'
folder = 'matrix_correlation_small/'
details = [ 'w3', 'w2']
show_correlation(folder, pwd, details, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1000)
matrix_correlation_small/model_50_50/model_50_50_w3_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50/model_50_50_w3_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50/model_50_50_w3_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50/model_50_50_w3_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50/model_50_50_w3_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50/model_50_50_w2_ matrix shape = (2500, 2500) rank = 2199 matrix_correlation_small/model_50_50/model_50_50_w2_ matrix shape = (2500, 2500) rank = 2195 matrix_correlation_small/model_50_50/model_50_50_w2_ matrix shape = (2500, 2500) rank = 2175 matrix_correlation_small/model_50_50/model_50_50_w2_ matrix shape = (2500, 2500) rank = 2164 matrix_correlation_small/model_50_50/model_50_50_w2_ matrix shape = (2500, 2500) rank = 2191
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation/'
details = ['w4', 'w3', 'w2']
show_correlation(folder, pwd, details, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1500)
matrix_correlation/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2317 matrix_correlation/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2330 matrix_correlation/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2328 matrix_correlation/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2313 matrix_correlation/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2303 matrix_correlation/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2345 matrix_correlation/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2328 matrix_correlation/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2342 matrix_correlation/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2329 matrix_correlation/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2326
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_small/'
details = ['w4', 'w3', 'w2']
show_correlation(folder, pwd, details, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1500)
matrix_correlation_small/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50/model_50_50_50_w4_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2246 matrix_correlation_small/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2263 matrix_correlation_small/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2270 matrix_correlation_small/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2253 matrix_correlation_small/model_50_50_50/model_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2246 matrix_correlation_small/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2277 matrix_correlation_small/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2262 matrix_correlation_small/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2278 matrix_correlation_small/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2265 matrix_correlation_small/model_50_50_50/model_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2257
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation/'
details = ['w5', 'w4', 'w3', 'w2']
show_correlation(folder, pwd, details, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 2000)
matrix_correlation/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2438 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2441 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2442 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2442 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2441 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2443 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2445 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2443 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2446 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2442 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2443 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2438 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2442 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2441 matrix_correlation/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2442
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_small/'
details = ['w5', 'w4', 'w3', 'w2']
show_correlation(folder, pwd, details, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 2000)
matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w5_ matrix shape = (500, 500) rank = 500 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2262 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2266 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2260 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2266 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w4_ matrix shape = (2500, 2500) rank = 2266 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2267 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2270 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2266 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2276 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w3_ matrix shape = (2500, 2500) rank = 2267 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2271 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2245 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2273 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2268 matrix_correlation_small/model_50_50_50_50/model_50_50_50_50_w2_ matrix shape = (2500, 2500) rank = 2267
def show_correlation(folder, pwd, d, n_of_samples, cmap, vmin, vmax, mineigenval, maxeigenval, cutoff = 1e-15):
eigenvals_tab = []
for n in range(n_of_samples):
path = folder + pwd + '_' + d + '_'+ str(n+1) + '.csv'
pearson_corr = pd.read_csv(path)
rk = np.linalg.matrix_rank(pearson_corr, tol = cutoff)
eigenvals = np.linalg.eig(pearson_corr)[0].real
eigenvals_tab.append(eigenvals)
print("matrix shape = {:}\t\t rank = {:}".format(pearson_corr.shape, rk))
eigenvals_arr = np.array(eigenvals_tab)
log_eigenvals_arr = np.log10(eigenvals_arr)
eigenvals_mean = eigenvals_arr.mean(axis=0)
eigenvals_std = eigenvals_arr.std(axis=0)
log_eigenvals_mean = log_eigenvals_arr.mean(axis=0)
log_eigenvals_std = log_eigenvals_arr.std(axis=0)
m=len(eigenvals_mean)
t = np.linspace(0, m-1, m)
bins = int(np.sqrt(m))
#eigenvals = np.where(eigenvals < cutoff, 1e-18, eigenvals)
fig, axs = plt.subplots(1, 3, figsize = (15, 6))
fig.suptitle(folder + pwd, fontsize=20)
im = axs[0].imshow(pearson_corr, cmap = cmap, vmin=vmin, vmax=vmax)
axs[0].figure.colorbar(im, ax=axs[0])
axs[1].hist(log_eigenvals_mean, bins=bins, density=True, alpha = 1, color='indigo')
axs[1].set_title("log eigenvalues histogram")
axs[1].grid(True, color = 'gray', alpha =0.4)
axs[2].errorbar(t, eigenvals_mean, yerr=eigenvals_std, c='pink', alpha = 0.5)
axs[2].scatter(t, eigenvals_mean, color ='indigo', s=5)
axs[2].set_title("eigenvalues")
axs[2].set_xlim(0, m-1)
axs[2].set_yscale('log')
axs[2].set_ylim((mineigenval, maxeigenval))
axs[2].grid(True, color = 'gray', alpha =0.4)
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2443 matrix shape = (2500, 2500) rank = 2438 matrix shape = (2500, 2500) rank = 2442 matrix shape = (2500, 2500) rank = 2441 matrix shape = (2500, 2500) rank = 2442
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2443 matrix shape = (2500, 2500) rank = 2445 matrix shape = (2500, 2500) rank = 2443 matrix shape = (2500, 2500) rank = 2446 matrix shape = (2500, 2500) rank = 2442
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2438 matrix shape = (2500, 2500) rank = 2441 matrix shape = (2500, 2500) rank = 2442 matrix shape = (2500, 2500) rank = 2442 matrix shape = (2500, 2500) rank = 2441
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation/'
d='w5'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_small/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2271 matrix shape = (2500, 2500) rank = 2245 matrix shape = (2500, 2500) rank = 2273 matrix shape = (2500, 2500) rank = 2268 matrix shape = (2500, 2500) rank = 2267
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_crosscorrelation_small/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2467 matrix shape = (2500, 2500) rank = 2466 matrix shape = (2500, 2500) rank = 2466 matrix shape = (2500, 2500) rank = 2466 matrix shape = (2500, 2500) rank = 2466
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_small/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2262 matrix shape = (2500, 2500) rank = 2266 matrix shape = (2500, 2500) rank = 2260 matrix shape = (2500, 2500) rank = 2266 matrix shape = (2500, 2500) rank = 2266
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_small/'
d='w5'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2121 matrix shape = (2500, 2500) rank = 2080 matrix shape = (2500, 2500) rank = 2123 matrix shape = (2500, 2500) rank = 2130 matrix shape = (2500, 2500) rank = 2110
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2102 matrix shape = (2500, 2500) rank = 2110 matrix shape = (2500, 2500) rank = 2106 matrix shape = (2500, 2500) rank = 2112 matrix shape = (2500, 2500) rank = 2109
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2104 matrix shape = (2500, 2500) rank = 2116 matrix shape = (2500, 2500) rank = 2106 matrix shape = (2500, 2500) rank = 2108 matrix shape = (2500, 2500) rank = 2113
pwd = 'model_50_50_50_50/model_50_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w5'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2345 matrix shape = (2500, 2500) rank = 2328 matrix shape = (2500, 2500) rank = 2342 matrix shape = (2500, 2500) rank = 2329 matrix shape = (2500, 2500) rank = 2326
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2317 matrix shape = (2500, 2500) rank = 2330 matrix shape = (2500, 2500) rank = 2328 matrix shape = (2500, 2500) rank = 2313 matrix shape = (2500, 2500) rank = 2303
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_small/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2277 matrix shape = (2500, 2500) rank = 2262 matrix shape = (2500, 2500) rank = 2278 matrix shape = (2500, 2500) rank = 2265 matrix shape = (2500, 2500) rank = 2257
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_small/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2246 matrix shape = (2500, 2500) rank = 2263 matrix shape = (2500, 2500) rank = 2270 matrix shape = (2500, 2500) rank = 2253 matrix shape = (2500, 2500) rank = 2246
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_small/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2126 matrix shape = (2500, 2500) rank = 2108 matrix shape = (2500, 2500) rank = 2124 matrix shape = (2500, 2500) rank = 2113 matrix shape = (2500, 2500) rank = 2098
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (2500, 2500) rank = 2136 matrix shape = (2500, 2500) rank = 2112 matrix shape = (2500, 2500) rank = 2122 matrix shape = (2500, 2500) rank = 2099 matrix shape = (2500, 2500) rank = 2096
pwd = 'model_50_50_50/model_50_50_50'
folder = 'matrix_correlation_vsmall/'
d='w4'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff)
matrix shape = (500, 500) rank = 495 matrix shape = (500, 500) rank = 497 matrix shape = (500, 500) rank = 494 matrix shape = (500, 500) rank = 497 matrix shape = (500, 500) rank = 493
pwd = 'model_50_50/model_50_50'
folder = 'matrix_correlation_small/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2199 matrix shape = (2500, 2500) rank = 2195 matrix shape = (2500, 2500) rank = 2175 matrix shape = (2500, 2500) rank = 2164 matrix shape = (2500, 2500) rank = 2191
pwd = 'model_50_50/model_50_50'
folder = 'matrix_correlation_small/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500 matrix shape = (500, 500) rank = 500
pwd = 'model_50_50/model_50_50'
folder = 'matrix_correlation_vsmall/'
d='w2'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (2500, 2500) rank = 2093 matrix shape = (2500, 2500) rank = 2142 matrix shape = (2500, 2500) rank = 2065 matrix shape = (2500, 2500) rank = 2058 matrix shape = (2500, 2500) rank = 2112
pwd = 'model_50_50/model_50_50'
folder = 'matrix_correlation_vsmall/'
d='w3'
show_correlation(folder, pwd, d, n_of_samples, cmap, vmin_corr, vmax_corr, mineigenval, maxeigenval, cutoff = 1e-15)
matrix shape = (500, 500) rank = 484 matrix shape = (500, 500) rank = 479 matrix shape = (500, 500) rank = 482 matrix shape = (500, 500) rank = 480 matrix shape = (500, 500) rank = 480